<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>p1_页面版心</title>
    <style>
        *{
            margin:0;
            padding: 0;
        }
        .mian  {
            background-color: yellowgreen;
        }
        .center{
            background-color: red;
            width: 500px;
            margin: 0 auto;
        }
        .mian>.center>.z{
            background-color: darkmagenta;
            height: 200px;
            width: 100px;
            border: 2px solid yellow;
            margin: 0 auto;
            text-align: center;
             line-height: 200px;
        }
    </style>
</head>
<body>
<div class="mian">
    <div class="center">
        <div class="z">111</div>
        <div class="z">222</div>
        <div class="z">333</div>
    </div>
</div>
</body>
</html>